
package object;
 
/**
 * 
 * @author wangweida
 * 2009-12-3
 */
public class Group{
	private int GroupID;
	private String GroupName;
	private int GroupOwnerID;
	private int AddedByID;
	private String AddDate;
	private int LastEditedByID;
	private String LastDate;
	
	private Group(){
		
	}
	
	private Group(int GroupID,String GroupName,int GroupOwnerID,int AddedByID,String AddDate,int LastEditedByID,String LastDate){
		this.GroupID=GroupID;
		this.GroupName=GroupName;
		this.GroupOwnerID=GroupOwnerID;
		this.AddedByID=AddedByID;
		this.AddDate=AddDate;
		this.LastEditedByID=LastEditedByID;
		this.LastDate=LastDate;
	}
	
	public static Group getInstance(){
		return new Group();
	}
	
	public static Group getInstance(int GroupID,String GroupName,int GroupOwnerID,int AddedByID,String AddDate,int LastEditedByID,String LastDate){
		return new Group(GroupID,GroupName,GroupOwnerID,AddedByID,AddDate,LastEditedByID,LastDate);
	}
	
	public void setGroupID(int GroupID){
		this.GroupID=GroupID;
	}
	public int getGroupID(){
		return this.GroupID;
	}
	
	public void setGroupName(String GroupName){
		this.GroupName=GroupName;
	}
	public String getGroupName(){
		return this.GroupName;
	}
	
	public void setGroupOwnerID(int GroupOwnerID){
		this.GroupOwnerID=GroupOwnerID;
	}
	public int getGroupOwnerID(){
		return this.GroupOwnerID;
	}
	
	public void setAddedByID(int AddedByID){
		this.AddedByID=AddedByID;
	}
	public int getAddedByID(){
		return this.AddedByID;
	}
	
	public void setAddDate(String AddDate){
		this.AddDate=AddDate;
	}
	public String getAddDate(){
		return this.AddDate;
	}
	
	public void setLastEditedByID(int LastEditedByID){
		this.LastEditedByID=LastEditedByID;
	}
	public int getLastEditedByID(){
		return this.LastEditedByID;
	}
	
	public void setLastDate(String LastDate){
		this.LastDate=LastDate;
	}
	public String getLastDate(){
		return this.LastDate;
	}
	

}
